[INFO] fetching crate arb-lib 0.1.0...
[INFO] testing arb-lib-0.1.0 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate arb-lib 0.1.0 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate arb-lib 0.1.0
[INFO] finished tweaking crates.io crate arb-lib 0.1.0
[INFO] tweaked toml for crates.io crate arb-lib 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate arb-lib 0.1.0 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 182 packages to latest compatible versions
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] [stderr]       Adding yaml-rust2 v0.8.1 (available: v0.11.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9530957e9465efda85646bdbe68af040eb40eb7fb754f4c68d5f6f61d3dc4275
[INFO] running `Command { std: "docker" "start" "-a" "9530957e9465efda85646bdbe68af040eb40eb7fb754f4c68d5f6f61d3dc4275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9530957e9465efda85646bdbe68af040eb40eb7fb754f4c68d5f6f61d3dc4275", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9530957e9465efda85646bdbe68af040eb40eb7fb754f4c68d5f6f61d3dc4275", kill_on_drop: false }`
[INFO] [stdout] 9530957e9465efda85646bdbe68af040eb40eb7fb754f4c68d5f6f61d3dc4275
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5e17e710659f85fcdfd348130093b03cee287da41568813e52b4b8e01a6664cd
[INFO] running `Command { std: "docker" "start" "-a" "5e17e710659f85fcdfd348130093b03cee287da41568813e52b4b8e01a6664cd", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling tokio v1.52.3
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]    Compiling arraydeque v0.5.1
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling tokio-util v0.7.18
[INFO] [stderr]    Compiling tower v0.5.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling yaml-rust2 v0.8.1
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling openssl v0.10.81
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]    Compiling yoke v0.8.3
[INFO] [stderr]    Compiling h2 v0.4.14
[INFO] [stderr]    Compiling zerovec v0.11.6
[INFO] [stderr]    Compiling zerotrie v0.2.4
[INFO] [stderr]    Compiling tinystr v0.8.3
[INFO] [stderr]    Compiling potential_utf v0.1.5
[INFO] [stderr]    Compiling icu_collections v2.2.0
[INFO] [stderr]    Compiling icu_locale_core v2.2.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling icu_provider v2.2.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling icu_properties v2.2.0
[INFO] [stderr]    Compiling hyper v1.10.1
[INFO] [stderr]    Compiling native-tls v0.2.18
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling tower-http v0.6.11
[INFO] [stderr]    Compiling hyper-util v0.1.20
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.28
[INFO] [stderr]    Compiling deepl-pro v0.1.0
[INFO] [stderr]    Compiling arb-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 02s
[INFO] running `Command { std: "docker" "inspect" "5e17e710659f85fcdfd348130093b03cee287da41568813e52b4b8e01a6664cd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e17e710659f85fcdfd348130093b03cee287da41568813e52b4b8e01a6664cd", kill_on_drop: false }`
[INFO] [stdout] 5e17e710659f85fcdfd348130093b03cee287da41568813e52b4b8e01a6664cd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f06b8ca8fae036ca4a68683460ab89eb3ae79b6619cff180779d124ea94f2380
[INFO] running `Command { std: "docker" "start" "-a" "f06b8ca8fae036ca4a68683460ab89eb3ae79b6619cff180779d124ea94f2380", kill_on_drop: false }`
[INFO] [stderr]    Compiling arb-lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.14s
[INFO] running `Command { std: "docker" "inspect" "f06b8ca8fae036ca4a68683460ab89eb3ae79b6619cff180779d124ea94f2380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f06b8ca8fae036ca4a68683460ab89eb3ae79b6619cff180779d124ea94f2380", kill_on_drop: false }`
[INFO] [stdout] f06b8ca8fae036ca4a68683460ab89eb3ae79b6619cff180779d124ea94f2380
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cf534b3a9f81e51c7a5705d3e0e607616474a3f55b68ed596da665e60f2b3ff9
[INFO] running `Command { std: "docker" "start" "-a" "cf534b3a9f81e51c7a5705d3e0e607616474a3f55b68ed596da665e60f2b3ff9", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/arb_lib-696c8e26b93a1efa)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests arb_lib
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 7) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 7) stdout ----
[INFO] [stdout] error: expected type, found `"DEEPL_API_KEY"`
[INFO] [stdout]   --> src/lib.rs:11:28
[INFO] [stdout]    |
[INFO] [stdout] 11 | let api_key: std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout]    |            -               ^^^^^^^^^^^^^^^ expected type
[INFO] [stdout]    |            |
[INFO] [stdout]    |            while parsing the type for `api_key`
[INFO] [stdout]    |
[INFO] [stdout] help: use `=` if you meant to assign
[INFO] [stdout]    |
[INFO] [stdout] 11 - let api_key: std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout] 11 + let api_key = std::env::var("DEEPL_API_KEY").unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find type `TranslationOptions` in this scope
[INFO] [stdout]   --> src/lib.rs:13:15
[INFO] [stdout]    |
[INFO] [stdout] 13 | let options = TranslationOptions::new(Lang::Fr);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^ use of undeclared type `TranslationOptions`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  6 + use arb_lib::TranslationOptions;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:15:44
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 15 | let result = intl.translate(&api, options).await?;
[INFO] [stdout]    |                                            ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]   --> src/lib.rs:14:38
[INFO] [stdout]    |
[INFO] [stdout]  8 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() {
[INFO] [stdout]    |                                      --------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | let mut intl = Intl::new("l10n.yaml")?;
[INFO] [stdout]    |                                      ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]    |
[INFO] [stdout]  8 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_7_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]  9 | use arb_lib::{Intl, deepl::{DeeplApi, ApiOptions, Lang}};
[INFO] [stdout] ...
[INFO] [stdout] 16 | println!("{:#?}", result);
[INFO] [stdout] 17 +     Ok(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 7)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cf534b3a9f81e51c7a5705d3e0e607616474a3f55b68ed596da665e60f2b3ff9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf534b3a9f81e51c7a5705d3e0e607616474a3f55b68ed596da665e60f2b3ff9", kill_on_drop: false }`
[INFO] [stdout] cf534b3a9f81e51c7a5705d3e0e607616474a3f55b68ed596da665e60f2b3ff9
